package com.warehouse.module.system.controller.admin.appuser.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - APP用户新增/修改 Request VO")
@Data
public class AppUserSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25552")
    private Long id;

    @Schema(description = "昵称", example = "赵六")
    private String nickName;

//    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "手机号不能为空")
    private String phoneNumber;

    @Schema(description = "头像地址", example = "https://www.iocoder.cn")
    private String headImageUrl;

    @Schema(description = "微信公众号id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27641")
    private Long mpUserId;

    /**
     * 粉丝标识
     */
    private String openid;

    /**
     * 公众号 appId
     *
     */
    @NotNull(message = "公众号 appId不能为空")
    private String appId;

    /**
     * 客户公司ID
     */
    @NotNull(message = "所属公司不能为空")
    private Long companyId;

    /**
     * 负责人
     */
    private Integer curator;
    /**
     * 微信公众号ID
     */
    @NotNull(message = "微信公众号ID不能为空")
    private Long accountId;

}